import request from '@/utils/request'

const baseUrl = '/deposit-user/ztyh/deposit'
export const getDeposit = () => {
  return request({
    url: baseUrl + '/list',
    method: 'get',
  })
}

export const addDeposit = data => {
  return request({
    url: baseUrl + '/addDeposit',
    method: 'post',
    data,
  })
}
